DLCardBrand

data class DLCardBrand(val identifier: String, val niceName: String, val images: List<DLBrandImage>, val patterns: List<Any>, val excludePattern: String?, val validation: String?, val gaps: List<Int>, val lengths: List<Int>, val code: DLCardCode)

Constructors

Link copied to clipboard
constructor(identifier: String, niceName: String, images: List<DLBrandImage>, patterns: List<Any>, excludePattern: String?, validation: String?, gaps: List<Int>, lengths: List<Int>, code: DLCardCode)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val gaps: List<Int>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun cardImage(density: DLImageDensity, size: DLImageSize, background: Boolean): String?

Return image brand URL for an specific density and size. Otherwise will return null when there is no image for that combination of size, density and background.